package ar.com.temporis.scrum.persistence;

import ar.com.temporis.framework.domain.Entity;
import ar.com.temporis.framework.persistence.PersistenceTestCase;
import ar.com.temporis.scrum.model.BacklogItem;

public class BacklogItemPersistenceTestCase extends PersistenceTestCase {

	@Override
	protected Entity createEntity() {
		BacklogItem backlogItem = new BacklogItem();
		
		backlogItem.setHowToDemo("howToDemo");
		backlogItem.setImportance(1L);
		backlogItem.setInitialEstimate(2L);
		backlogItem.setName("name");
		backlogItem.setNotes("notes");
		
		return backlogItem;
	}

	@Override
	protected void modify(Entity entity) {
		BacklogItem backlogItem = (BacklogItem) entity;
		
		backlogItem.setHowToDemo("howToDemoadasdasdasd");
	}

}
